package com.dy.lock.screen.dao;

import com.dy.lock.screen.pojo.MaterialCollectInfo;

public interface MaterialCollectDao extends
		BaseDao<MaterialCollectInfo, String> {

	/**
	 * 通过id查询
	 * 
	 * @param id
	 * @return
	 */
	public MaterialCollectInfo queryByPrimaryKey(String id);

	/**
	 * 根据文章编号和客户编号查询是否收藏过该文章
	 * 
	 * @param likeInfo
	 * @return
	 */
	public MaterialCollectInfo queryByMidAndCid(MaterialCollectInfo collectInfo);

}
